package game;

import java.util.Set;

public class ServerConfig {

	public static final String KEY_MYSQL_CLASSNAME = "mysql.classname";

	public static final String KEY_MYSQL_URL = "mysql.url";

	public static final String KEY_MYSQL_USERNAME = "mysql.username";

	public static final String KEY_MYSQL_PASSWORD = "mysql.password";

	public static final String KEY_SOCKET_PORT = "socket_port";

	public static final String KEY_HTTP_PORT = "http_port";

	public static final String KEY_HS_LAN_PORT = "lan.port";

	public static final String KEY_ZONE_ID = "zone.id";
	
	public static final String KEY_ZONE_NAME = "zone.name";

	public static final String CONFIG_FILE_NAME = "hall.properties";

	public static final String KEY_IS_ANDROID = "is.android";

	public static final String KEY_CROSS_HOST = "cross.host";

	public static final String KEY_CROSS_LAN_PORT = "cross.lan.port";

	public static final String KEY_GM_ENABLE = "gm.enable";

	public static final String KEY_LAN_ALLOW_IP = "lan.allow.ip";
	
	public static final String KEY_IOS_IAP_SANDBOX = "ios.iap.sandbox";
	
	public static final String KEY_DALAN_PAY_CALLBACK = "dalan.pay_callback";
	
	public static final String KEY_RS_SOCKET_HOST = "room_server.socket.host";
	public static final String KEY_RS_SOCKET_PORT = "room_server.socket.port";
	public static final String KEY_RS_LAN_HOST = "room_server.lan.host";
	public static final String KEY_RS_LAN_PORT = "room_server.lan.port";
	
	private String mysqlClassname;

	private String mysqlUrl;

	private String mysqlUsername;

	private String mysqlPassword;

	private int socketPort;

	private int httpPort;

	private int hsLanPort;

	private int zoneId;
	
	private String zoneName;

	private boolean isAndroid;

	private String crossHost;

	private int crossLanPort;

	private boolean gmEnable;

	private Set<String> lanAllowIps;

	private boolean iosIapIsSandbox;
	
	private String dalanPayCallback;
	
	private String rsSocketHost;
	
	private Integer rsSocketPort;
	
	private String rsLanHost;
	
	private Integer rsLanPort;
	
	private String agentServerUrl;
	
	public int getSocketPort() {
		return socketPort;
	}

	public void setSocketPort(int socketPort) {
		this.socketPort = socketPort;
	}

	public int getHttpPort() {
		return httpPort;
	}

	public void setHttpPort(int httpPort) {
		this.httpPort = httpPort;
	}

	public int getHsLanPort() {
		return hsLanPort;
	}

	public void setHsLanPort(int hsLanPort) {
		this.hsLanPort = hsLanPort;
	}

	public int getZoneId() {
		return zoneId;
	}

	public void setZoneId(int zoneId) {
		this.zoneId = zoneId;
	}

	public boolean getIsAndroid() {
		return isAndroid;
	}

	public void setIsAndroid(boolean isAndroid) {
		this.isAndroid = isAndroid;
	}

	public String getMysqlClassname() {
		return mysqlClassname;
	}

	public void setMysqlClassname(String mysqlClassname) {
		this.mysqlClassname = mysqlClassname;
	}

	public String getMysqlUrl() {
		return mysqlUrl;
	}

	public void setMysqlUrl(String mysqlUrl) {
		this.mysqlUrl = mysqlUrl;
	}

	public String getMysqlUsername() {
		return mysqlUsername;
	}

	public void setMysqlUsername(String mysqlUsername) {
		this.mysqlUsername = mysqlUsername;
	}

	public String getMysqlPassword() {
		return mysqlPassword;
	}

	public void setMysqlPassword(String mysqlPassword) {
		this.mysqlPassword = mysqlPassword;
	}

	public boolean isGmEnable() {
		return gmEnable;
	}

	public void setGmEnable(boolean gmEnable) {
		this.gmEnable = gmEnable;
	}

	public Set<String> getLanAllowIps() {
		return lanAllowIps;
	}

	public void setLanAllowIps(Set<String> lanAllowIps) {
		this.lanAllowIps = lanAllowIps;
	}

	public boolean isIosIapIsSandbox() {
		return iosIapIsSandbox;
	}

	public void setIosIapIsSandbox(boolean iosIapIsSandbox) {
		this.iosIapIsSandbox = iosIapIsSandbox;
	}

	public String getDalanPayCallback() {
		return dalanPayCallback;
	}

	public void setDalanPayCallback(String dalanPayCallback) {
		this.dalanPayCallback = dalanPayCallback;
	}

	public String getCrossHost() {
		return crossHost;
	}

	public void setCrossHost(String crossHost) {
		this.crossHost = crossHost;
	}

	public int getCrossLanPort() {
		return crossLanPort;
	}

	public void setCrossLanPort(int crossLanPort) {
		this.crossLanPort = crossLanPort;
	}

	public String getZoneName() {
		return zoneName;
	}

	public void setZoneName(String zoneName) {
		this.zoneName = zoneName;
	}

	public String getRsSocketHost() {
		return rsSocketHost;
	}

	public void setRsSocketHost(String rsSocketHost) {
		this.rsSocketHost = rsSocketHost;
	}

	public Integer getRsSocketPort() {
		return rsSocketPort;
	}

	public void setRsSocketPort(Integer rsSocketPort) {
		this.rsSocketPort = rsSocketPort;
	}

	public String getRsLanHost() {
		return rsLanHost;
	}

	public void setRsLanHost(String rsLanHost) {
		this.rsLanHost = rsLanHost;
	}

	public Integer getRsLanPort() {
		return rsLanPort;
	}

	public void setRsLanPort(Integer rsLanPort) {
		this.rsLanPort = rsLanPort;
	}

	public String getAgentServerUrl() {
		return agentServerUrl;
	}

	public void setAgentServerUrl(String agentServerUrl) {
		this.agentServerUrl = agentServerUrl;
	}

}
